LearningSession.CurrentActivityResourceKey Property

Gets the identifier of the resource associated with the current activity. The key is derived from the resource identifier in the manifest. It is unique per session.

Parent Type: LearningSession

Namespace: Microsoft.LearningComponents

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public string CurrentActivityResourceKey

{ get; }
Exceptions
Exception type Condition
InvalidOperationException

Thrown if there is no current activity in the session.